<?php
namespace app\apitest\controller;

use app\BaseController;

class Index extends BaseController {

    public function index()
    {
		$key = "8096";
		$appSecret = "bodowlKDIFJkgdsdf178374hfjds";
		$timestamp = time();
		$checkSign = md5($key.$appSecret.$timestamp);
		
		$signStr = "?apikey=".$key."&timestamp=".$timestamp."&sign=".$checkSign."&";
	
        $this->assign('signStr', $signStr);
        return $this->fetch();
    }
	

}
